package com.iap.client.context
{
	import com.iap.common.command.VectorCommand;
	import com.iap.common.service.IVectorService;
	import com.iap.common.service.VectorService;
	import com.iap.admin.signal.VectorRequestSignal;
	import com.iap.app.data.AppData;
	import com.iap.app.data.IAppData;
	import com.iap.client.mediator.VectorFilterResultMediator;
	import com.iap.client.view.VectorFilterResultView;
	
	import org.robotlegs.mvcs.SignalContext;

	public class VectorFilterResultContext extends SignalContext
	{
		override public function startup():void
		{
			injector.mapSingletonOf(IAppData, AppData);
			injector.mapSingletonOf(IVectorService, VectorService);
			
			signalCommandMap.mapSignalClass(VectorRequestSignal, VectorCommand);
			
			mediatorMap.mapView(VectorFilterResultView, VectorFilterResultMediator);
		}
	}
}